package com.example.peibei.bean;

import com.dingtao.common.bean.User;
import com.dingtao.common.core.DataCall;
import com.dingtao.common.core.exception.ApiException;
import com.example.peibei.base.SpConstant;

public class SpUserInfoCall implements DataCall<User> {

    @Override
    public void success(User data, Object... args) {
        SpConstant.login(data);
    }

    @Override
    public void fail(ApiException data, Object... args) {

    }
}
